package cn.com.pojo;

import net.sf.jsqlparser.expression.DateTimeLiteralExpression;

import java.util.Date;

public class CommentBean {
    private Integer id;
    private Integer foodid;
    private Integer userid;
    private String comment;
    private String postdate;

    @Override
    public String toString() {
        return "CommentBean{" +
                "id=" + id +
                ", foodid=" + foodid +
                ", userid=" + userid +
                ", comment='" + comment + '\'' +
                ", postdate='" + postdate + '\'' +
                '}';
    }

    public String getPostdate() {
        return postdate;
    }

    public void setPostdate(String postdate) {
        this.postdate = postdate;
    }

    public CommentBean(Integer id, Integer foodid, Integer userid, String comment, String postdate) {
        this.id = id;
        this.foodid = foodid;
        this.userid = userid;
        this.comment = comment;
        this.postdate = postdate;
    }

    public CommentBean() {
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getFoodid() {
        return foodid;
    }

    public void setFoodid(Integer foodid) {
        this.foodid = foodid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }


}
